package com.cxso.example.enums.wlpt;

import lombok.AllArgsConstructor;
import lombok.Getter;

import java.io.Serializable;

@Getter
@AllArgsConstructor
public enum InvoiceStatusEnum implements Serializable {
    /**
     * 开票状态
     * 开票状态：10：待审核，,20:待开票，30：已开票，40：拒绝开票，:50：作废
     */
    AUDITED(10, "待审核"),
    AUDIT_REJECT(15, "审核驳回"),
    TO_BE_INVOICED(20, "待开票"),
    INVOICED(30, "已开票"),
    REFUSE_INVOICE(40, "拒绝开票"),
    CANCEL(50, "作废"),
    INVOICE_RED(60, "发票冲红"),
    INVOICE_RED_ING(67, "发票冲红中"),
    UN_INVOICE(70, "未开票"),
    PENDING_INVOICE(80, "开票中"),
    PRE_INVOICING(90, "预开票申请中"),
    REVOKE_APPLY(100, "已撤销"),
    ;

    private final Integer code;
    private final String message;
}
